	<form class="form-horizontal" role="form">
		<div class="form-group " ng-init="coupon.type='OFFSETCASH'">
			<label class="control-label col-sm-2">名称</label>
			<div class="col-sm-5">
				<input class="form-control" ng-model="coupon.name"/>
			</div>
		</div>
		<div class="form-group ">
			<label class="control-label col-sm-2">时间</label>
			<div class="col-sm-4">
				<input type="date" class="form-control" ng-model="coupon.startDate"/>
			</div>
			<span class="form-control-static pull-left">至</span>
			<div class="col-sm-4">
				<input type="date" class="form-control" ng-model="coupon.endDate "/>
			</div>
		</div>
		<div class="form-group ">
			<label class="control-label col-sm-2">面额</label>
			<div class="col-sm-4">
				<input class="form-control" type="number" ng-model="coupon.value"/>
			</div>
			<span class="form-control-static col-sm-2">元</span>
		</div>
		<div class="form-group ">
			<label class="control-label col-sm-2">兑换门店</label>
			<div class="col-sm-10">
				<div  class="col-sm-12  form-control-stack text-left">
					<label class="checkbox-inline">
						<input type="checkbox" id="inlineCheckbox1" ng-click="check_all()"  value="option1">所有门店</label>
				</div>
				<div  class="col-sm-12  form-control-stack text-left" id="check-son">
					<label class="checkbox-inline mr15" ng-repeat="shoplist in view.shop" >
						<input type="checkbox" ng-model="coupon.shops[$index]" ng-true-value="{{shoplist.id}}" id="inlineCheckbox1" value="option1"  ng-checked="checkallstr==1" >
						<span ng-bind="shoplist.name"></span>
					</label>

				</div>

			</div>
		</div>
		<div class="form-group">
			<label class="control-label col-sm-2">兑换时段</label>
			<div class="col-sm-10">
				<div class="form-group timecheck">
					<div class="col-sm-12 ">
						<div class="btn glyphicon  btn-default" ng-class="{active:coupon.time1}" ng-click="coupon.time1=!coupon.time1">早市</div>
						<div  class="btn glyphicon btn-default" ng-class="{active:coupon.time2}" ng-click="coupon.time2=!coupon.time2">午市</div>
						<div class="btn glyphicon btn-default" ng-class="{active:coupon.time3}" ng-click="coupon.time3=!coupon.time3">晚市</div>
						<div class="btn glyphicon btn-default" ng-class="{active:coupon.time4}" ng-click="coupon.time4=!coupon.time4">夜宵</div>
					</div>
				</div>
			</div>
		</div>
		<div class="form-group">
			<label class="control-label col-sm-2">兑换详情</label>
			<div class="col-sm-10">
				<div class="col-sm-12">
					<div class="form-group ">
						<div class="form-control-static pull-left">消费满</div>
						<div class="col-sm-3">
							<input class="form-control" type="number" ng-model="coupon.amountLimit "/>
						</div>
						<div class="form-control-static pull-left">元,可使用</div>
						<div class="col-sm-3">
							<input type="number" class="form-control" ng-model="coupon.countLimit "/>
						</div>
						<div class="form-control-static pull-left">张</div>
					</div>
					
				</div>
			</div>
		</div>

		<div class="form-group">
			<label class="control-label col-sm-2">说明</label>
			<div class="col-sm-10">
				<div class="col-sm-12">
					<div class="form-group timecheck">
						<div class="form-control-static">1.本券不兑换现金、不找零。</div>
						<div class="form-control-static">2.本券不与店内其他活动共享。</div>
						<div class="form-control-static">3.最终解释权归本店所有。</div>
					</div>
				</div>
			</div>
		</div>
	</form>
